

<div class="news">
  <div >this is <%= name%></div>

  <% for (var i=0;i<arr.length;i++){ %>
    <%= arr[i] %>
  <%}%>
</div>